aboutsummaryrefslogtreecommitdiff
path: root/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.backends.wasm.structure.binary.WasmBinaryFormatI.../[method:canSerializeI64Add(org.shedlang.compiler.testing.snapshots.Snapshotte...
diff options
context:
space:
mode:
authorMichael Williamson <mike@zwobble.org>2023-12-26 22:32:51 +0000
committerMichael Williamson <mike@zwobble.org>2023-12-26 22:32:51 +0000
commit1f3ff130fb4ed927aaa6ffa5e30eb7a4df575d6e (patch)
tree4f99a9d4c2319da4914dcf5c7b4cd495d3124577 /snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.backends.wasm.structure.binary.WasmBinaryFormatInstructionsTests]/[method:canSerializeI64Add(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected
parent011646c6f4f7b73d12d32fabfbc016c19bd536e0 (diff)
Add i64.add instruction
Diffstat (limited to 'snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.backends.wasm.structure.binary.WasmBinaryFormatInstructionsTests]/[method:canSerializeI64Add(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected')
-rw-r--r--snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.backends.wasm.structure.binary.WasmBinaryFormatInstructionsTests]/[method:canSerializeI64Add(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected27
1 files changed, 27 insertions, 0 deletions
diff --git a/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.backends.wasm.structure.binary.WasmBinaryFormatInstructionsTests]/[method:canSerializeI64Add(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected b/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.backends.wasm.structure.binary.WasmBinaryFormatInstructionsTests]/[method:canSerializeI64Add(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected
new file mode 100644
index 00000000..77ac9eb9
--- /dev/null
+++ b/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.backends.wasm.structure.binary.WasmBinaryFormatInstructionsTests]/[method:canSerializeI64Add(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected
@@ -0,0 +1,27 @@
+
+module.wasm: file format wasm 0x1
+
+Section Details:
+
+Type[1]:
+ - type[0] () -> nil
+Function[1]:
+ - func[0] sig=0 <f>
+Code[1]:
+ - func[0] size=8 <f>
+Custom:
+ - name: "linking"
+ - symbol table [count=1]
+ - 0: F <f> func=0 [ binding=global vis=default ]
+Custom:
+ - name: "name"
+ - func[0] <f>
+
+Code Disassembly:
+
+000026 func[0] <f>:
+ 000027: 42 00 | i64.const 0
+ 000029: 42 00 | i64.const 0
+ 00002b: 7c | i64.add
+ 00002c: 1a | drop
+ 00002d: 0b | end \ No newline at end of file